<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>

</head>
<body >
    <div id="c52657fe0ef145d890cdffeb2e82e507" class="chart-container" style="width:900px; height:500px; "></div>
    <script>
        var chart_c52657fe0ef145d890cdffeb2e82e507 = echarts.init(
            document.getElementById('c52657fe0ef145d890cdffeb2e82e507'), 'white', {renderer: 'canvas'});
        var option_c52657fe0ef145d890cdffeb2e82e507 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "aria": {
        "enabled": false
    },
    "color": [
        "#5470c6",
        "#91cc75",
        "#fac858",
        "#ee6666",
        "#73c0de",
        "#3ba272",
        "#fc8452",
        "#9a60b4",
        "#ea7ccc"
    ],
    "series": [
        {
            "type": "line",
            "name": "\u7528\u7535\u91cf",
            "connectNulls": false,
            "xAxisIndex": 0,
            "symbolSize": 4,
            "showSymbol": true,
            "smooth": true,
            "clip": true,
            "step": false,
            "data": [
                [
                    "00:00:00",
                    300
                ],
                [
                    "01:00:00",
                    280
                ],
                [
                    "02:00:00",
                    250
                ],
                [
                    "03:00:00",
                    260
                ],
                [
                    "04:00:00",
                    270
                ],
                [
                    "05:00:00",
                    300
                ],
                [
                    "06:00:00",
                    550
                ],
                [
                    "07:00:00",
                    500
                ],
                [
                    "08:00:00",
                    400
                ],
                [
                    "09:00:00",
                    390
                ],
                [
                    "10:00:00",
                    380
                ],
                [
                    "11:00:00",
                    390
                ],
                [
                    "12:00:00",
                    400
                ],
                [
                    "13:00:00",
                    500
                ],
                [
                    "14:00:00",
                    600
                ],
                [
                    "15:00:00",
                    750
                ],
                [
                    "16:00:00",
                    800
                ],
                [
                    "17:00:00",
                    700
                ],
                [
                    "18:00:00",
                    600
                ],
                [
                    "19:00:00",
                    400
                ],
                [
                    "20:00:00",
                    300
                ],
                [
                    "21:00:00",
                    280
                ],
                [
                    "22:00:00",
                    250
                ],
                [
                    "23:00:00",
                    260
                ],
                [
                    "24:00:00",
                    260
                ]
            ],
            "hoverAnimation": true,
            "label": {
                "show": false,
                "margin": 8
            },
            "logBase": 10,
            "lineStyle": {
                "show": true,
                "width": 2,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "areaStyle": {
                "opacity": 0
            },
            "zlevel": 0,
            "z": 0,
            "markArea": {
                "silent": false,
                "label": {
                    "show": true,
                    "margin": 8
                },
                "data": [
                    [
                        {
                            "name": "\u65e9\u9ad8\u5cf0",
                            "xAxis": "07:30"
                        },
                        {
                            "xAxis": "10:00"
                        }
                    ],
                    [
                        {
                            "name": "\u665a\u9ad8\u5cf0",
                            "xAxis": "17:30"
                        },
                        {
                            "xAxis": "21:15"
                        }
                    ]
                ]
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "\u7528\u7535\u91cf"
            ],
            "selected": {
                "\u7528\u7535\u91cf": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14,
            "backgroundColor": "transparent",
            "borderColor": "#ccc",
            "borderWidth": 1,
            "borderRadius": 0,
            "pageButtonItemGap": 5,
            "pageButtonPosition": "end",
            "pageFormatter": "{current}/{total}",
            "pageIconColor": "#2f4554",
            "pageIconInactiveColor": "#aaa",
            "pageIconSize": 15,
            "animationDurationUpdate": 800,
            "selector": false,
            "selectorPosition": "auto",
            "selectorItemGap": 7,
            "selectorButtonGap": 10
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "axis",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "cross"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "enterable": false,
        "confine": false,
        "appendToBody": false,
        "transitionDuration": 0.4,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5,
        "order": "seriesAsc"
    },
    "xAxis": [
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "boundaryGap": false,
            "minInterval": 0,
            "splitLine": {
                "show": true,
                "lineStyle": {
                    "show": true,
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            },
            "data": [
                "00:00:00",
                "01:00:00",
                "02:00:00",
                "03:00:00",
                "04:00:00",
                "05:00:00",
                "06:00:00",
                "07:00:00",
                "08:00:00",
                "09:00:00",
                "10:00:00",
                "11:00:00",
                "12:00:00",
                "13:00:00",
                "14:00:00",
                "15:00:00",
                "16:00:00",
                "17:00:00",
                "18:00:00",
                "19:00:00",
                "20:00:00",
                "21:00:00",
                "22:00:00",
                "23:00:00",
                "24:00:00"
            ]
        }
    ],
    "yAxis": [
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "axisLabel": {
                "show": true,
                "margin": 8,
                "formatter": "{value} W"
            },
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": true,
                "lineStyle": {
                    "show": true,
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            }
        }
    ],
    "title": [
        {
            "show": true,
            "text": "\u4e00\u5929\u7528\u7535\u91cf\u5206\u5e03",
            "target": "blank",
            "subtext": "\u7eaf\u5c5e\u865a\u6784",
            "subtarget": "blank",
            "padding": 5,
            "itemGap": 10,
            "textAlign": "auto",
            "textVerticalAlign": "auto",
            "triggerEvent": false
        }
    ],
    "visualMap": {
        "show": true,
        "type": "piecewise",
        "min": 0,
        "max": 100,
        "inRange": {
            "color": [
                "#50a3ba",
                "#eac763",
                "#d94e5d"
            ]
        },
        "calculable": true,
        "inverse": false,
        "splitNumber": 5,
        "dimension": 0,
        "hoverLink": true,
        "orient": "vertical",
        "padding": 5,
        "showLabel": true,
        "itemWidth": 20,
        "itemHeight": 14,
        "borderWidth": 0,
        "pieces": [
            {
                "lte": 6,
                "color": "green"
            },
            {
                "gt": 6,
                "lte": 8,
                "color": "red"
            },
            {
                "gt": 8,
                "lte": 14,
                "color": "green"
            },
            {
                "gt": 14,
                "lte": 17,
                "color": "red"
            },
            {
                "gt": 17,
                "color": "green"
            }
        ]
    }
};
        chart_c52657fe0ef145d890cdffeb2e82e507.setOption(option_c52657fe0ef145d890cdffeb2e82e507);
    </script>
</body>
</html>
